From 96e9b86dc73ecf49fc548b9e6fd9a27839d0f842 Mon Sep 17 00:00:00 2001 From: Dymphna Date: Fri, 14 Nov 2025 19:42:42 -0600 Subject: [PATCH] Allow manually defining symbol visibility in static builds. (#313) --- utf8proc.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utf8proc.h b/utf8proc.h index 569a21d..7619949 100644 --- a/utf8proc.h +++ b/utf8proc.h @@ -121,7 +121,9 @@ typedef bool utf8proc_bool; #include #ifdef UTF8PROC_STATIC -# define UTF8PROC_DLLEXPORT +# ifndef UTF8PROC_DLLEXPORT +# define UTF8PROC_DLLEXPORT +# endif #else # ifdef _WIN32 # ifdef UTF8PROC_EXPORTS -- 2.30.2